<template>
      <count-to v-bind:startval="startval" v-bind:endval="endval" v-bind:duration="duration"></count-to>
</template>
<script>
import CountTo from './components/CountTo';
  export default {
    name: 'VueCount',
    data() {
      return {
            duration: 5000,       // 需要滚动的时间
            startval: 137,         // 初始值
            endval: 275,        // 最终值
      }
    },
    components: {
        CountTo,
    },
     mounted() {
    },
  methods: {
  },

  }
</script>